#!/usr/bin/env node
import { Command } from 'commander'

const program = new Command()

program
  .option('-t --test <test>', '【选项】测试')

program.parse(process.argv)

// 模拟顶层 await
void (async () => {
  const options = program.opts()
  console.log('获取参数', options)
})
